package com.heatup.apt.model.user;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 用户餐券账号信息
 *
 */
@TableName("user_meal_coupon")
public class UserMealCoupon implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 主键ID */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/** 用户ID */
	@TableField(value = "user_id")
	private Integer userId;

	/** 餐券数量 */
	@TableField(value = "meal_count")
	private Integer mealCount;

	/** 最后更新人 */
	@TableField(value = "updated_by")
	private Integer updatedBy;

	/** 最后更新时间 */
	@TableField(value = "updated_time")
	private Date updatedTime;

	/** 创建人 */
	@TableField(value = "created_by")
	private Integer createdBy;

	/** 创建时间 */
	@TableField(value = "created_time")
	private Date createdTime;

	/** 版本号 */
	private Integer version;


	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getMealCount() {
		return this.mealCount;
	}

	public void setMealCount(Integer mealCount) {
		this.mealCount = mealCount;
	}

	public Integer getUpdatedBy() {
		return this.updatedBy;
	}

	public void setUpdatedBy(Integer updatedBy) {
		this.updatedBy = updatedBy;
	}

	public Date getUpdatedTime() {
		return this.updatedTime;
	}

	public void setUpdatedTime(Date updatedTime) {
		this.updatedTime = updatedTime;
	}

	public Integer getCreatedBy() {
		return this.createdBy;
	}

	public void setCreatedBy(Integer createdBy) {
		this.createdBy = createdBy;
	}

	public Date getCreatedTime() {
		return this.createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public Integer getVersion() {
		return this.version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

}
